package com.pubinfo.passbook.common.model.vo.contract;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "TaxListVo", description = "税金计提列表数据")
public class TaxListVo implements Serializable {

    @ApiModelProperty(value = "合同名称")
    private String contractName;

    @ApiModelProperty("发票流水号")
    @TableId(value = "invoice_id")
    private String invoiceId;

    @ApiModelProperty("合同ID")
    @TableField(value = "contract_id")
    private Integer contractId;

    @ApiModelProperty("合同编号")
    @TableField(value = "contract_code")
    private String contractCode;

    @ApiModelProperty("开票日期")
    @TableField(value = "invoice_date")
    private Date invoiceDate;

    @ApiModelProperty("发票代码")
    @TableField(value = "invoice_code")
    private String invoiceCode;

    @ApiModelProperty("发票号码")
    @TableField(value = "invoice_number")
    private String invoiceNumber;

    @ApiModelProperty("发票号码")
    @TableField(value = "payer_name")
    private String payerName;

    @ApiModelProperty("开票金额(价税合计)")
    @TableField(value = "invoice_amount")
    private BigDecimal invoiceAmount;

    @ApiModelProperty("税率")
    @TableField(value = "tax_rate")
    private BigDecimal taxRate;

    @ApiModelProperty("税金")
    @TableField(value = "tax_amount")
    private BigDecimal taxAmount;

    @ApiModelProperty("不含税金额")
    @TableField(value = "amount")
    private BigDecimal amount;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time")
    private Date updateTime;

}
